package cn.flying.system.mapper.cm;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import cn.flying.system.domain.cm.CmResource;
import cn.flying.system.domain.cm.CmResourceExample;

public interface CmResourceMapper {
    long countByExample(CmResourceExample example);

    int deleteByExample(CmResourceExample example);

    int deleteByPrimaryKey(Long id);

    int insert(CmResource row);

    int insertSelective(CmResource row);

    List<CmResource> selectByExampleWithRowbounds(CmResourceExample example, RowBounds rowBounds);

    List<CmResource> selectByExample(CmResourceExample example);

    CmResource selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("row") CmResource row, @Param("example") CmResourceExample example);

    int updateByExample(@Param("row") CmResource row, @Param("example") CmResourceExample example);

    int updateByPrimaryKeySelective(CmResource row);

    int updateByPrimaryKey(CmResource row);
}